package net.huafv.authoritycontrol.admin.controller;

import net.huafv.authoritycontrol.admin.service.SysUserService;
import net.huafv.authoritycontrol.common.lang.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@Autowired
	private SysUserService sysUserService;

	@GetMapping("/test")
	public Object test(){
		return Result.success(sysUserService.list());
	}

}
